package com.example.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author void
 * @date 2021/6/25 15:17
 * @desc
 */
@Data
@Component
@ConfigurationProperties(prefix = "test")
public class TestProperties {
    private List<String> list;
}
